Automatically deployable floating shelter located at sites at risk of flooding